s/BABL_TOLERANCE/ s/BABL_ACCURACY/BABL_TOLERANCE/
authorØyvind Kolås <ok@src.gnome.org>
Thu, 12 Jun 2008 21:43:55 +0000 (21:43 +0000)
committerØyvind Kolås <ok@src.gnome.org>
Thu, 12 Jun 2008 21:43:55 +0000 (21:43 +0000)
* babl/babl-fish-path.c: (legal_error): s/BABL_TOLERANCE/
* docs/index-static.html.in: s/BABL_ACCURACY/BABL_TOLERANCE/

svn path=/trunk/; revision=331

ChangeLog
babl/babl-fish-path.c
docs/index-static.html.in

index 62f5fbe5f67e390b698ee858349e2b2a0f163fa7..9eb7868e689898af0fcfe0c2726ce5afa4f64ba7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-12  Øyvind Kolås  <pippin@gimp.org>
+
+       * babl/babl-fish-path.c: (legal_error): s/BABL_TOLERANCE/
+       * docs/index-static.html.in: s/BABL_ACCURACY/BABL_TOLERANCE/
+
 2008-06-12  Øyvind Kolås  <pippin@gimp.org>
 
        * babl/babl-fish-path.c: (legal_error): s/BABL_ERROR/BABL_ACCURACY/
index 821e1cea3ccd2c662899e5901de0b5b629237ea5..d2cd4e74f1a62c1b348dd5601c41a4df7898f1ba 100644 (file)
@@ -67,7 +67,7 @@ static double legal_error (void)
   if (error != 0.0)
     return error;
 
-  env = getenv ("BABL_ACCURACY");
+  env = getenv ("BABL_TOLERANCE");
   if (env)
     error = atof (env);
   else
@@ -100,7 +100,7 @@ static int max_path_length (void)
  * the shortest path in a graph where formats are the vertices
  * and conversions are the edges. However, there is an additional
  * constraint to the shortest path, that limits conversion error
- * introduced by such a path to be less than BABL_ACCURACY. This
+ * introduced by such a path to be less than BABL_TOLERANCE. This
  * prohibits usage of any reasonable shortest path construction
  * algorithm such as Dijkstra's algorithm. The shortest path is
  * constructed by enumerating all available paths that are less
index 925ed01f07282e5fc2c93aafeb4eb4a9733cb400..2b7918b799d49ecf79affa0cbf908a7d8b7dd711 100644 (file)
@@ -265,7 +265,7 @@ lab_buffer  = malloc (pixel_count * 3 * 4);
 </pre>
 -->
 
-    <p>Through the environment variable <em>BABL_ACCURACY</em> you can control
+    <p>Through the environment variable <em>BABL_TOLERANCE</em> you can control
     a speed/performance trade off that by default is set very low (0.000001)
     values in the range 0.01-0.1 can provide reasonable preview performance
     by allowing lower numerical accuracy</p>.